package com.joysuch.wwyt.mh.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zqw
 * @since 2022-05-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_mh_major_hazard_task_record")
@ApiModel(value="MhMajorHazardTaskRecord对象", description="")
public class MhMajorHazardTaskRecord extends UserDataEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "任务id")
    private Long taskId;

    @ApiModelProperty(value = "任务名称")
    private String taskName;

    @ApiModelProperty(value = "完成时间")
    private Date finishDate;

    @ApiModelProperty(value = "完成期限(描述性)")
    private String deadLineDesc;

    @ApiModelProperty(value = "完成情况:0未完成 1已完成 2逾期")
    private Integer checkResult;

    @ApiModelProperty(value = "完成状态:0异常,1正常")
    private Integer status;

    @ApiModelProperty(value = "异常处理状态:0等待处理1无需处理2处理中3处理完成")
    private Integer excepHandle;

    @ApiModelProperty(value = "危险源id")
    private Long mhId;

    @ApiModelProperty(value = "签字(多个,分割)")
    private String signatures;

    @ApiModelProperty(value = "备注")
    private String remark;

}
